﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class usercontrol_TimKiem : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        DataTable dt = Xulydulieu.ExecuteQuery("select MaSP,TenSP,MieuTa,Gia,Hinh from SanPham where MaDM = " + DropDownList1.SelectedValue + " and Gia >= " + DropDownList2.SelectedValue + " and Gia<=" + DropDownList3.SelectedValue +"");
    }
}